package com.dwd.order.pojo;


import com.dwd.basic.pojo.BaseBean;
import com.dwd.org.pojo.Shop;
import com.dwd.user.pojo.User;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ProductOrder extends BaseBean {
    //摘要
    private String digest;
    //状态   待支付0 待消费1 待确认2 完成3 取消-1
    private Integer state = 0;
    //价格
    private BigDecimal price;
    //支付方式
    private Integer payType;
    //订单编号
    private String orderSn;
    private String paySn;
    //最后支付时间
    private Date lastPayTime;
    //最后确认时间
    private Date lastConfirmTime;
    //用户
    private User user;
    //店铺
    private Shop shop;


}
